package com.xxxx.server.utils;

import java.util.Date;
import java.util.UUID;

public class UUIDUtils {
    public static String randName(){
        String uuid = UUID.randomUUID().toString().replace("-", "").substring(0, 8);
        Date date = new Date();
        long time = date.getTime();
        return uuid + "-" + time;
    }

}
